<?php

namespace app\index\validate;

use think\Validate;

class Login extends Validate{
    protected $rule = [
        'login'  => 'require',
        'pwd'  => 'require',
    ];

    protected $message  =   [
        'login.require' => '登录名必须',
        'pwd.require' => '密码必须',
    ];
}
